package cn.webrx;

public class Obj1 {
    {
        System.out.println("初始化块代码1");
        System.out.println("初始化块代码2");
        System.out.println("初始化块代码3");
    }
    /*属性*/
    int i = 3;


    /*方法*/
    int pf(int i) {
        return i * i;
    }

    /*初始化程序块*/ {
        System.out.println("hello");
    }

    /*静态程序块*/
    static {
        for (int i = 1; i <= 5; i++) {
            System.out.println("static i = " + i);
        }
    }
    /*成员类*/
    public class User {

    }
}
